package com.qf.model.pojo;

import java.util.Date;

public class Userloans {
    private Integer u_id;      //编号
    private String u_name;     //姓名
    private String u_address;  //地址
    private String u_sex;      //性别  默认：男
    private String u_email;    //邮箱
    private Integer u_manager; //权限  0:普通用户  1：管理员
    private String u_phone;    //手机号
    private String u_pwd;      //app登录密码
    private String u_cpwd;     //app支付密码
    private String u_idcard;   //身份证号
    private Double u_balance;   //app余额  默认0
    private Integer u_credit;  //信用积分   默认500

    private Integer id;       //用户贷款编号
    private Integer l_id;     //产品编号
    private Double quota;     //贷款额度
    private Integer type;     //审批状态   0：未审批   1：已审批
    private String c_id;      //还款账号
    private Date date;        //贷款时间
    private String f_name;    //其他联系人名称
    private String f_phone;   //其他联系人电话
    private Date due_date;    //还款时间

    private String l_name;   //产品名称
    private Double l_rate;   //贷款利率

    public Userloans() {
    }

    @Override
    public String toString() {
        return "Userloans{" +
                "u_id=" + u_id +
                ", u_name='" + u_name + '\'' +
                ", u_address='" + u_address + '\'' +
                ", u_sex='" + u_sex + '\'' +
                ", u_email='" + u_email + '\'' +
                ", u_manager=" + u_manager +
                ", u_phone='" + u_phone + '\'' +
                ", u_pwd='" + u_pwd + '\'' +
                ", u_cpwd='" + u_cpwd + '\'' +
                ", u_idcard='" + u_idcard + '\'' +
                ", u_balance=" + u_balance +
                ", u_credit=" + u_credit +
                ", id=" + id +
                ", l_id=" + l_id +
                ", quota=" + quota +
                ", type=" + type +
                ", c_id='" + c_id + '\'' +
                ", date=" + date +
                ", f_name='" + f_name + '\'' +
                ", f_phone='" + f_phone + '\'' +
                ", due_date=" + due_date +
                ", l_name='" + l_name + '\'' +
                ", l_rate=" + l_rate +
                '}';
    }

    public Integer getU_id() {
        return u_id;
    }

    public void setU_id(Integer u_id) {
        this.u_id = u_id;
    }

    public String getU_name() {
        return u_name;
    }

    public void setU_name(String u_name) {
        this.u_name = u_name;
    }

    public String getU_address() {
        return u_address;
    }

    public void setU_address(String u_address) {
        this.u_address = u_address;
    }

    public String getU_sex() {
        return u_sex;
    }

    public void setU_sex(String u_sex) {
        this.u_sex = u_sex;
    }

    public String getU_email() {
        return u_email;
    }

    public void setU_email(String u_email) {
        this.u_email = u_email;
    }

    public Integer getU_manager() {
        return u_manager;
    }

    public void setU_manager(Integer u_manager) {
        this.u_manager = u_manager;
    }

    public String getU_phone() {
        return u_phone;
    }

    public void setU_phone(String u_phone) {
        this.u_phone = u_phone;
    }

    public String getU_pwd() {
        return u_pwd;
    }

    public void setU_pwd(String u_pwd) {
        this.u_pwd = u_pwd;
    }

    public String getU_cpwd() {
        return u_cpwd;
    }

    public void setU_cpwd(String u_cpwd) {
        this.u_cpwd = u_cpwd;
    }

    public String getU_idcard() {
        return u_idcard;
    }

    public void setU_idcard(String u_idcard) {
        this.u_idcard = u_idcard;
    }

    public Double getU_balance() {
        return u_balance;
    }

    public void setU_balance(Double u_balance) {
        this.u_balance = u_balance;
    }

    public Integer getU_credit() {
        return u_credit;
    }

    public void setU_credit(Integer u_credit) {
        this.u_credit = u_credit;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getL_id() {
        return l_id;
    }

    public void setL_id(Integer l_id) {
        this.l_id = l_id;
    }

    public Double getQuota() {
        return quota;
    }

    public void setQuota(Double quota) {
        this.quota = quota;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getC_id() {
        return c_id;
    }

    public void setC_id(String c_id) {
        this.c_id = c_id;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getF_name() {
        return f_name;
    }

    public void setF_name(String f_name) {
        this.f_name = f_name;
    }

    public String getF_phone() {
        return f_phone;
    }

    public void setF_phone(String f_phone) {
        this.f_phone = f_phone;
    }

    public Date getDue_date() {
        return due_date;
    }

    public void setDue_date(Date due_date) {
        this.due_date = due_date;
    }

    public String getL_name() {
        return l_name;
    }

    public void setL_name(String l_name) {
        this.l_name = l_name;
    }

    public Double getL_rate() {
        return l_rate;
    }

    public void setL_rate(Double l_rate) {
        this.l_rate = l_rate;
    }

    public Userloans(Integer u_id, String u_name, String u_address, String u_sex, String u_email, Integer u_manager, String u_phone, String u_pwd, String u_cpwd, String u_idcard, Double u_balance, Integer u_credit, Integer id, Integer l_id, Double quota, Integer type, String c_id, Date date, String f_name, String f_phone, Date due_date, String l_name, Double l_rate) {
        this.u_id = u_id;
        this.u_name = u_name;
        this.u_address = u_address;
        this.u_sex = u_sex;
        this.u_email = u_email;
        this.u_manager = u_manager;
        this.u_phone = u_phone;
        this.u_pwd = u_pwd;
        this.u_cpwd = u_cpwd;
        this.u_idcard = u_idcard;
        this.u_balance = u_balance;
        this.u_credit = u_credit;
        this.id = id;
        this.l_id = l_id;
        this.quota = quota;
        this.type = type;
        this.c_id = c_id;
        this.date = date;
        this.f_name = f_name;
        this.f_phone = f_phone;
        this.due_date = due_date;
        this.l_name = l_name;
        this.l_rate = l_rate;
    }
}
